package com.tianda.his.modules.erp.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tianda.his.modules.erp.dto.ProviderDto;
import com.tianda.his.modules.erp.dto.PruducerDto;
import com.tianda.his.modules.erp.entity.StockProvider;
import com.tianda.his.modules.erp.service.StockProviderService;
import com.tianda.his.modules.erp.mapper.StockProviderMapper;
import org.springframework.stereotype.Service;

/**
* @author jinken
* @description 针对表【stock_provider(供应商信息表)】的数据库操作Service实现
* @createDate 2025-09-17 09:07:29
*/
@Service
public class StockProviderServiceImpl extends ServiceImpl<StockProviderMapper, StockProvider>
    implements StockProviderService{


    @Override
    public Page<StockProvider> listProviderForPage(ProviderDto providerDto) {

        LambdaQueryWrapper<StockProvider> wrapper = new LambdaQueryWrapper<>();
        //TODO 组织查询条件

        Page<StockProvider> page = new Page<>();

        this.page(page, wrapper);

        return page;
    }
}




